var app = getApp();

Page({
    data: {
        navH: app.globalData.navHeight,
        item_id: 0
    },
    navBack: function() {
        wx.navigateBack();
    },
    onChangeitemid: function(n) {
        n = n.currentTarget.dataset.item_id, this.setData({
            item_id: this.data.item_id == n ? 0 : n
        });
    },
    onLoad: function(n) {},
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});